
/**
 * 
 * holds all of the user's details
 *
 */
public class User 
{
	/** user's name */
	public String name=new String();
	/** user's age */
	public int age;
	/** user's authorozations */
	public int authorozations;
	/** user's address */
	public String address=new String();
	/** user's phonenum */
	public String phonenum=new String();
	/** user's id */
	public String id;
	/** user's isFrozen */
	public Boolean isFrozen;
	
	/** saves all of the user's information, gathered from the server's database */
	User(String[] details)
	{
		this.id=details[1];
		this.phonenum=details[2];
		this.address=details[3];
		this.age=Integer.parseInt(details[4]);
		this.name=details[5];
		this.authorozations=Integer.parseInt(details[6]);
		this.isFrozen=Boolean.parseBoolean(details[7]);
	}
}
